home *** CD-ROM | disk | FTP | other *** search
- t++;
- if(0 < t and (t == frac or dx == 0 and dy == 0))
- {
- call("keys");
- tellTarget("anim")
- {
- gotoAndStop(eval("..:direx"));
- }
- if(!_root.map.hitTest(_X + dx * frac,_Y + dy * frac,true))
- {
- dx = 0;
- dy = 0;
- }
- call("plataformas");
- t = 0;
- }
- _X = _X + dx;
- _Y = _Y + dy;
- z = int(_Y);
- swapdepths(z);
- if(eval("..:tiempo") != "GO!")
- {
- ttt += 1;
- if(ttt == 20)
- {
- set("..:tiempo",eval("..:tiempo") - 1);
- ttt = 0;
- }
- if(eval("..:tiempo") == 0)
- {
- tellTarget(_root)
- {
- removeMovieClip("felipe");
- removeMovieClip("goal");
- removeMovieClip("pen");
- n = 1;
- while(eval("_root:maxvicentes") >= n)
- {
- removeMovieClip("v" add n);
- n++;
- }
- gotoAndStop("over");
- play();
- }
- removeMovieClip("");
- }
- }
-